#import <Foundation/Foundation.h>
#import "SEGSaveorupdateleaseModel.h"

@interface SEGSaveorupdateleaseManager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----
/**
 房屋租售-发布出租接口
 
 @author Sam
 */
-(void)requestSaveorupdateleaseWithParams:(NSDictionary*)params Finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 房屋租售-发布出售接口
 
 @author Sam
 */
-(void)requestSaveOrUpdateSellWithParams:(NSDictionary*)params Finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/**
 车位租售-发布或编辑接口
 
 @author lima
 */
-(void)requestPulishEditWithParams:(NSDictionary*)params Finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;


#pragma mark - HTTP----END----

#pragma mark - SOURCE----BEGIN----
@property (nonatomic, strong) SEGSaveorupdateleaseModel *saveOrUpdateLease;
#pragma mark - SOURCE----END----
@end

